package com.kele.service;



import com.kele.entity.Customers;

import java.util.List;

public interface CustomersService {
    public List<Customers> getAllCustomers();

    public Customers getCustomerById(int id);

    public Customers getCustomersByStatus(String status);

    public Customers getCustomersByCust_name(String Cust_name);

    public String deleteCustomerByName(String cust_name);

    int deleteCustomerById(int customer_id);

    public int updateCustomer(Customers customer);

    public String insertCustomer(Customers customer);

    public List<Customers> queryCustomers(String cust_name, Integer user_id, Integer cust_background, Integer listed,
                                          Integer cust_type, Integer status);

    //检查用户名
    public String checkname(String username);

    public int getCustomerByIdCustName(String cust_name);

}
